package com.zyd.module.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyd.module.admin.model.ProductInfos;
import com.zyd.module.admin.vo.ProductInfoVo;

import java.util.List;

/**
 * 
 *
 * @author tiezhu
 * @email  1766419110@mail.com
 * @date 2022-04-04 00:17:38
 */
public interface ProductInfosService extends IService<ProductInfos> {


    List<ProductInfos> selectProductInfosByTypeId(Integer fid);


    List<ProductInfos> findProductPages(IPage<ProductInfos> page, ProductInfoVo infoVo);

    Integer removeProductrByIds(List<String> asList);

    ProductInfos getAndThumbnailById(String id);

    Long getProductLookCount();

    List<ProductInfos> getProductsInfoListByType(Integer typeId,IPage<ProductInfos> page);
}

